home *** CD-ROM | disk | FTP | other *** search
/ Thailand - Into the 2000's / Thailand: Into the 2000's.iso / Acrobat / Acrobat.exe / EXVW / 10055 < prev    next >
Text File  |  2001-10-26  |  1KB  |  34 lines

  1. gLabelSecurityLabel = zstring_width(zstring: '$$$/Dialogs/SecurityShowHand/SecurityLabel');
  2. gMaxButtonWidth = max(
  3.     zstring_width(zstring: '$$$/Dialogs/SecurityShowHand/SecurityInfo'),
  4.     zstring_width(zstring: '$$$/Dialogs/SecurityShowHand/SecurityChange'));
  5.  
  6. dialog(name: '$$$/Dialogs/SecurityShowHand', target_id: 'secP')
  7. {
  8.     group() {
  9.         group(align_children: align_fill)
  10.         {
  11.             group(align_children: align_left)
  12.             {
  13.                 view(align_children: align_row)
  14.                 {
  15.                     static_text(name: '$$$/Dialogs/SecurityShowHand/SecurityLabel');
  16.                     popup(item_id: 'secP', width: max_char_width() * 11);
  17.                 }
  18.                 view(align_children: align_row)
  19.                 {
  20.                     gap( width: gLabelSecurityLabel);
  21.                     button(item_id: 'secI', name: '$$$/Dialogs/SecurityShowHand/SecurityInfo', width: gMaxButtonWidth);
  22.                 }
  23.                 view(align_children: align_row)
  24.                 {
  25.                     gap( width: gLabelSecurityLabel);
  26.                     button(item_id: 'secS', name: '$$$/Dialogs/SecurityShowHand/SecurityChange', width: gMaxButtonWidth);
  27.                 }
  28.             }
  29.             static_text(item_id: 'secN', alignment: align_fill );
  30.         }
  31.         ok(ok_name: '$$$/Dialogs/SecurityShowHand/Close');
  32.     }
  33. }
  34.